package com.fowo.api.model.amazon.settlement.report.trans.manage.item;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/** 亚马逊交易报告子表 导入导出辅助模型 */
@Getter
@Setter
public class AmazonSettlementReportTransManageItemExcelPo {

  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "所属亚马逊交易报告管理")
  private String parentAmazonSettlementReportTransManageBillingTimeZone;

  @ExcelIgnore
  @ExcelProperty(value = "所属亚马逊交易报告管理")
  private Long parentAmazonSettlementReportTransManage;

  @Size(max = 50, message = "费用项长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "费用项")
  private String name;

  @Size(max = 50, message = "大项长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "大项")
  private String maxname;

  @ExcelProperty(value = "金额")
  private java.math.BigDecimal amount;
}
